package com.zxl.designpattern.structure.adapter;

/**
 * @author zxl
 * @version 1.0
 * @description 遗留的旧支付系统
 * @date 2025/6/1 16:36
 */
public class LegacyPaymentSystem {

    /**
     * 处理支付，旧有系统只支持银行支付
     * @param amount
     */
    public void makePayment(double amount) {
        System.out.printf("处理银行支付 金额%.2f%n", amount);
    }
}
